﻿#nullable enable

using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 根据船舶 Id 和时间段查询的 RequestDto
/// </summary>
public class PagedAndSortedWithTimeRangeResultRequestDto : PagedAndSortedResultRequestDto
{
    /// <summary>
    /// 开始时间
    /// </summary>
    [Required]
    public DateTime StartTime { get; init; }
    
    /// <summary>
    /// 结束时间
    /// </summary>
    [Required]
    public DateTime EndTime { get; init; }
}